var t = require("../common/index.js");
var app = getApp()
Component({
  properties: {
    data: { type: Array },
    columnCount:{ type: Number,default:2 },
  },
  data: { dpr: 2, imgurl: app.getImgUrl(), },
  methods: {
    goLink: function (e) {
      var o = e.currentTarget.dataset, i = o.item, a = i.noticeId;
      console.log("新闻id数据:", a);
      if (a) {
        wx.navigateTo({
            url: '/pages/homeClass/homeNewsDetail/homeNewsDetail?noticeId=' + a,
          })
      }
    }
  }
});